#include "../User/Component/CMD.h"
#include "../User/Component/PID.h"

#define TASK_CMD_SCAN_FREQ (50.0f)

/**
 * @brief 更新CMD
 *
 * @param cmd
 */
bool CMD_Update(CMD_Send_t *cmd);

/**
 * @brief 初始化CMD
 *
 * @param cmd
 */
void CMD_Init(CMD_Send_t *cmd);

void CMD_Apply(CMD_Send_t *cmd, PID_Param_t *pid_angle, PID_Param_t *pid_speed);
